package ComputingSystem;

public class SubtractTest extends MathTest{
    @Override
    public int calculator() {
        return getA()-getB();
    }

    @Override
    public String getQuestion() {
        return getA()+"-"+getB()+"=?";
    }

    public SubtractTest() {
    }

    public SubtractTest(int a, int b) {
        super(a, b);
    }
}
